package com.codes.service;

import com.codes.model.Building;

import java.util.List;
import java.util.Map;

public interface BuildingSV {
    int deleteByPrimaryKey(Integer id);

    int insert(Building record);

    int insertSelective(Building record);


    Building selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Map map);

    int updateByPrimaryKey(Building record);

    int insertByMap(Map map) throws Exception;

    //getListByMap
    List<Map<String,Object>> getListByMap(Map map) throws Exception;
}
